package jerry.html.events;

import java.util.List;
/**
 * 
 * 
 * player novice event
 * 
 * 
 * @author (h0t@_G0|i
 * 
 */
public class PlyrNoviceEvtCapImpl
    extends EvtCap
{

    public PlyrNoviceEvtCapImpl(List<String> list)
    {
        int i = list.size();
        if(i < 5)
        {
            validEvt = false;
            return;
        }
        validEvt = true;
        timeStamp = Double.valueOf(list.get(0)).doubleValue();
        playerId = Integer.parseInt(list.get(3));
        String s = list.get(4);
        if(s.equals("False") || s.equals("Falso") || s.equals("Nein") || s.equals("Faux"))
            playerNovice = false;
        else
            playerNovice = true;
    }

    public int playerId;
    public boolean playerNovice;
}
